<?php
$db = pg_connect('host=psql-vt2012 user=user 
password=pw') or 
die('failed to connect to DB.');
?>
